namespace MVCProject.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Authority")]
    public partial class Authority
    {
        [Key]
        public int authID { get; set; }

        public int roleID { get; set; }

        public int menuID { get; set; }

        public int sort { get; set; }

        public DateTime lastTime { get; set; }

        public virtual Menus Menus { get; set; }

        public virtual Roles Roles { get; set; }
    }
}
